package com.yunshan.oss;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:
 * @author: lrx
 * @date: 2022/7/15 10:33
 * @version: v1.0
 * @change [修改时间] [修改者@][版本号] [修改内容]
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OssCallbackParam {
    @ApiModelProperty("请求的回调地址")
    private String callbackUrl;
    @ApiModelProperty("回调是传入request中的参数")
    private String callbackBody;
    @ApiModelProperty("回调时传入参数的格式，比如表单提交形式")
    private String callbackBodyType;

    @Override
    public String toString() {
        return "{" +
                "callbackUrl:'" + callbackUrl + '\'' +
                ", callbackBody:'" + callbackBody + '\'' +
                ", callbackBodyType:'" + callbackBodyType + '\'' +
                '}';
    }
}
